[INFO] fetching crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1...
[INFO] fixing jiaxin2006-tg-rcore-tutorial-t3l1-0.0.1-preview.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1
[INFO] finished tweaking crates.io crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1
[INFO] tweaked toml for crates.io crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jiaxin2006-tg-rcore-tutorial-t3l1 0.0.1-preview.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded page-table v0.0.6
[INFO] [stderr]   Downloaded customizable-buddy v0.0.3
[INFO] [stderr]   Downloaded virtio-drivers v0.1.0
[INFO] [stderr]   Downloaded tg-rcore-tutorial-kernel-alloc v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df
[INFO] running `Command { std: "docker" "start" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling jiaxin2006-tg-rcore-tutorial-t3l1 v0.0.1-preview.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking customizable-buddy v0.0.3
[INFO] [stderr]     Checking tg-rcore-tutorial-sbi v0.4.8
[INFO] [stderr]     Checking page-table v0.0.6
[INFO] [stderr]     Checking virtio-drivers v0.1.0
[INFO] [stderr]     Checking tg-rcore-tutorial-kernel-alloc v0.4.8
[INFO] [stdout] error[E0433]: cannot find module or crate `gpu` in this scope
[INFO] [stdout]   --> src/main.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut gpu = match gpu::Gpu::new() {
[INFO] [stdout]    |                         ^^^ use of unresolved module or unlinked crate `gpu`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 33 | mod gpu;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] help: to make use of source file src/gpu.rs, use `mod gpu` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 29 + mod gpu;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HEAP_SPACE` in this scope
[INFO] [stdout]   --> src/main.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let heap_ptr = core::ptr::addr_of_mut!(HEAP_SPACE) as *mut u8;
[INFO] [stdout]    |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 38 | #[unsafe(link_section = ".bss.uninit")]
[INFO] [stdout] 39 | static mut HEAP_SPACE: [u8; 2 * 1024 * 1024] = [0; 2 * 1024 * 1024];
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `alloc_init` in this scope
[INFO] [stdout]   --> src/main.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     alloc_init(heap_ptr as usize);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 31 | use tg_kernel_alloc::{init as alloc_init, transfer as alloc_transfer};
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `alloc_transfer` in this scope
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         alloc_transfer(heap_region);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:31:55
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 31 | use tg_kernel_alloc::{init as alloc_init, transfer as alloc_transfer};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tangram` in this scope
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             tangram::render_tangram(fb, width, height);
[INFO] [stdout]     |             ^^^^^^^ use of unresolved module or unlinked crate `tangram`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:35:5
[INFO] [stdout]     |
[INFO] [stdout]  34 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  35 | mod tangram;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] help: to make use of source file src/tangram.rs, use `mod tangram` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout]  29 + mod tangram;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jiaxin2006-tg-rcore-tutorial-t3l1` (bin "jiaxin2006-tg-rcore-tutorial-t3l1") due to 5 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `gpu` in this scope
[INFO] [stdout]   --> src/main.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut gpu = match gpu::Gpu::new() {
[INFO] [stdout]    |                         ^^^ use of unresolved module or unlinked crate `gpu`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 33 | mod gpu;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] help: to make use of source file src/gpu.rs, use `mod gpu` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 29 + mod gpu;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HEAP_SPACE` in this scope
[INFO] [stdout]   --> src/main.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let heap_ptr = core::ptr::addr_of_mut!(HEAP_SPACE) as *mut u8;
[INFO] [stdout]    |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 38 | #[unsafe(link_section = ".bss.uninit")]
[INFO] [stdout] 39 | static mut HEAP_SPACE: [u8; 2 * 1024 * 1024] = [0; 2 * 1024 * 1024];
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:134:1
[INFO] [stdout]     |
[INFO] [stdout] 134 | / fn panic(_info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 135 | |     shutdown(true) // true 表示异常关机
[INFO] [stdout] 136 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`jiaxin2006_tg_rcore_tutorial_t3l1`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tangram` in this scope
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             tangram::render_tangram(fb, width, height);
[INFO] [stdout]     |             ^^^^^^^ use of unresolved module or unlinked crate `tangram`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:35:5
[INFO] [stdout]     |
[INFO] [stdout]  34 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  35 | mod tangram;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] help: to make use of source file src/tangram.rs, use `mod tangram` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout]  29 + mod tangram;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `alloc_init` in this scope
[INFO] [stdout]   --> src/main.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     alloc_init(heap_ptr as usize);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 31 | use tg_kernel_alloc::{init as alloc_init, transfer as alloc_transfer};
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `alloc_transfer` in this scope
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         alloc_transfer(heap_region);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:31:55
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 31 | use tg_kernel_alloc::{init as alloc_init, transfer as alloc_transfer};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jiaxin2006-tg-rcore-tutorial-t3l1` (bin "jiaxin2006-tg-rcore-tutorial-t3l1" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df", kill_on_drop: false }`
[INFO] [stdout] 342caa984de6e0e0e20391f9a5e5ab33f6b52319ef190b70120efe550e5f27df
